Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Finder Guide /
Chapter 3 - Finder Commands / Command Definitions


Delete

A Delete command is a request to delete one or more objects. The Finder version of the Delete command is identical to the standard version described
in the AppleScript Language Guide.

SYNTAX
delete referenceToObject
PARAMETER
referenceToObject
A reference to the object or objects to be deleted.
Class: Reference
RESULT
None

EXAMPLE
tell application "Finder"   delete file "OldFile" of startup disk
end tell 

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996